{# {% extends 'cesiplastprodBundle::layout.html.twig' %}
{% block head %}
{% endblock %}
{% block body %}
<h3>Inscription</h3>#}
<div style="display: none" class="error" id="registerFormErrorBlock">
</div>
<form style="display: none" id="registerForm" action="{{ path('cesiplastprodBundle_register') }}" method="POST" {{ form_enctype(insc) }}>
	<div>
	    {{ form_label(insc.user_login, "Login :") }}
	    {{ form_widget(insc.user_login) }}
	</div>
	<div>
	    {{ form_label(insc.user_password, "Mot de passe :") }}
        {{ form_widget(insc.user_password) }}
	</div>
    <div>
		<label for="cmdp">Confirmation mot de passe :</label>
		<input type="password" id="cpassword" name="cmdp" />
	</div>
    <div>
	    {{ form_label(insc.user_mail, "Adresse e-mail :") }}
	    {{ form_widget(insc.user_mail) }}
	</div>
    <div class="opt_infos_trigger opt_infos_trigger_a">Informations optionnelles</div>
    <div class="opt_infos">
	    {{ form_label(insc.user_firstname, "Prénom :") }}
	    {{ form_widget(insc.user_firstname) }}
	</div>
    <div class="opt_infos">
	    {{ form_label(insc.user_lastname, "Nom :") }}
	    {{ form_widget(insc.user_lastname) }}
	</div>


    <div>
        <div>		
		    <img id="loading" src="{{ asset('') }}"/>
		    <button type="submit">Envoyer</button>
		    <button type="reset">Réinitialiser</button>
        </div>
	</div>
			
</form>
<a id="displayConnectionFormLink" style="display: none" href="javascript:void(0)">S'authentifier</a>
{# {% endblock %}#}

